//----------------------------------------------------------------------------------------------------------------------
// (C) Copyright 2017  Macro Image Technology Co., LTd. , All rights reserved
// 
// This source code is the property of Macro Image Technology and is provided
// pursuant to a Software License Agreement. This code's reuse and distribution
// without Macro Image Technology's permission is strictly limited by the confidential
// information provisions of the Software License Agreement.
//-----------------------------------------------------------------------------------------------------------------------
//
// File Name   		:	LIAMD6K.C
// Description 		:	Lattice Crosslink FPGA ( LIA-MD6000 )
// Ref. Docment		: 
// Revision History 	:

// ----------------------------------------------------------------------
// Include files
// ----------------------------------------------------------------------
#include	"video.h"

#if defined(__USE_LATTICE_LIAMD6K__)
// ----------------------------------------------------------------------
// Struct/Union Types and define
// ----------------------------------------------------------------------

// ----------------------------------------------------------------------
// Static Global Data section variables
// ----------------------------------------------------------------------

// ----------------------------------------------------------------------
// External Variable 
// ----------------------------------------------------------------------

// ----------------------------------------------------------------------
// Static Prototype Functions
// ----------------------------------------------------------------------

// ----------------------------------------------------------------------
// Static functions
// ----------------------------------------------------------------------

//------------------------------------------------------------------------------------------

//--------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------
void LIAMD6K_Init(void)
{
	LIAMD6K_sw_rst() ;
}

//--------------------------------------------------------------------------------------------
void LIAMD6K_sw_rst(void)
{
	LIAMD6K_RegField(0x00, 0, 1, 0x00);						// soft reset
	LIAMD6K_RegField(0x00, 0, 1, 0x01);
}

//--------------------------------------------------------------------------------------------
#endif	//__USE_LATTICE_LIAMD6K__


/*  FILE_END_HERE */
